package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ProjectFromDao;
import com.totoro.domain.ProjectFrom;

/*
 * 题目来源service
 */
@Transactional
@Service
public class ProjectFromService extends BaseService<ProjectFrom, Integer>{

	private ProjectFromDao projectFromDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<ProjectFrom, Integer> projectFromDao) {
		// TODO Auto-generated method stub
		this.baseDao = projectFromDao;
		this.projectFromDao = (ProjectFromDao) projectFromDao;
	}
}
